package city.spring.modules.reception.service;

import city.spring.modules.reception.entity.OldmanVolunteerInfoEntity;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * Service：志愿者信息
 *
 * @author pxm
 * @date 2020-07-01 09:54:20
 */
public interface OldmanVolunteerInfoService extends IService<OldmanVolunteerInfoEntity> {
    String CACHE_NAME = "oldman_volunteer_info";

    /**
     * 业务处理：保存一个 <strong>志愿者信息</strong>
     *
     * @param entity 志愿者信息
     */
    void saveOldmanVolunteerInfo(OldmanVolunteerInfoEntity entity);

    /**
     * 业务处理：修改一个 <strong>志愿者信息</strong>
     *
     * @param entity 志愿者信息
     */
    void updateOldmanVolunteerInfo(OldmanVolunteerInfoEntity entity);

    /**
     * 业务处理：删除一个 <strong>志愿者信息</strong>
     *
     * @param primaryKey 主键ID
     */
    void deleteOldmanVolunteerInfo(String primaryKey);

    /**
     * 业务处理：删除多个 <strong>志愿者信息</strong>
     *
     * @param primaryKeys 主键ID列表
     */
    void deleteOldmanVolunteerInfo(List<String> primaryKeys);
}